package cn.icanci.loopstack.bic.biz.service;

import java.util.List;

import cn.icanci.loopstack.bic.common.model.TextValue;
import cn.icanci.loopstack.bic.common.model.base.NodeStyleVO;
import cn.icanci.loopstack.bic.dal.mongo.common.PageList;

/**
 * @author icanci
 * @since 1.0 Created in 2023/09/13 22:44
 */
public interface NodeStyleService extends BaseService<NodeStyleVO> {
    @Override
    List<NodeStyleVO> queryAll();

    @Override
    void save(NodeStyleVO nodeStyleVO);

    @Override
    NodeStyleVO queryById(String id);

    @Override
    PageList<NodeStyleVO> queryPage(NodeStyleVO nodeStyleVO, int pageNum, int pageSize);

    NodeStyleVO queryBySystemUuidAndName(String systemUuid, String name);

    NodeStyleVO queryBySystemUuidAndKey(String systemUuid, String key);

    List<TextValue> loadSelector(String systemUuid);

    String loadDefaultStyle();

    NodeStyleVO queryByUuid(String styleUuid);
}
